<script setup>
    const siteInfo = defineProps(
        {
            name: {
                type: String,
                required: true,
                default: '你是我的玫瑰花'
            },
            version: {
                type: String,
                required: true,
                default: '1.0.0'
            }
        }
    )
    const emits = defineEmits(["GetInfo","ClieckMe"])

    emits("GetInfo", {
        name:"peter",
        title:"小菜鸟"
    })
    const clickMe = () => {
        emits("ClieckMe",100)
    }
</script>
<template>
    <h3>    
        footer components for Cardboard
    </h3>
    <button @click="clickMe">点击我</button>
    <div>
        {{ name }} -- {{ version }}
    </div>
    <slot/>
</template>
